#pragma once

#include "common.h"
#include "collision_primitive.h"

namespace TorPhysix
{

	class CollisionDetector
	{
	public:
		static unsigned sphereAndHalfSpace(const CollisionSphere &sphere, const CollisionPlane &plane, CollisionData *data );
		static unsigned sphereAndSphere( const CollisionSphere &one, const CollisionSphere &two, CollisionData *data);
		static unsigned boxAndHalfSpace(const CollisionBox &box, const CollisionPlane &plane, CollisionData *data);
		static unsigned boxAndSphere(const CollisionBox &box, const CollisionSphere &sphere, CollisionData *data);
		static unsigned boxAndBox(const CollisionBox &box1, const CollisionBox &box2, CollisionData *data);
	};
}